package com.example.member.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import utils.R;

@RestController
@RequestMapping("/members/")
public class TestController {


    @GetMapping("/hello")
    public R test(){
        System.out.println("方法执行");
        return R.ok().setData("hello world");
    }
}
